package com.opgea.tutor.service;

import java.util.List;

import com.opgea.tutor.web.dto.AddressDTO;
import com.opgea.tutor.web.dto.EmailDTO;
import com.opgea.tutor.web.dto.PhoneDTO;
import com.opgea.tutor.web.dto.StudentDTO;

public interface StudentService {

    public StudentDTO create(StudentDTO studentDTO);

    public StudentDTO update(StudentDTO studentDTO);

    public StudentDTO remove(Long id);

    public StudentDTO find(Long id);

    public List<StudentDTO> findAll();
    
    public StudentDTO findByLoginId(Long id);

    public AddressDTO findAddress(Long studentId);

    public List<PhoneDTO> findPhoneNumbers(Long studentId);

    public List<EmailDTO> findEmailIds(Long studentId);

    public AddressDTO updateAddress(Long studentId, AddressDTO addressDTO);

    public PhoneDTO updatePhone(Long studentId, PhoneDTO phoneDTO);

    public EmailDTO updateEmail(Long studentId, EmailDTO emailDTO);
}
